package com.msa.msaportal.service.impl;
import com.msa.msaportal.dao.IHeaderDao;
import com.msa.msaportal.entity.PortalheaderEntity;
import com.msa.msaportal.service.IHeaderService;
public class HeaderSvImpl implements IHeaderService {
	  private  IHeaderDao headerDao;
	  		
		@Override
		public void addHeader(PortalheaderEntity header)  throws Exception {
			headerDao.addHeader(header);
		}
		
		@Override
		public void delete(String headerId) {
			
			headerDao.delete(headerId);
		}
				
		@Override
		public PortalheaderEntity find(String headerId) {
			  PortalheaderEntity header = headerDao.find(headerId);
			return header;
		}
	
		public IHeaderDao getHeaderDao() {
			return headerDao;
		}
	
		public void setHeaderDao(IHeaderDao headerDao) {
			this.headerDao = headerDao;
		}

		@Override
		public void updater(PortalheaderEntity header) {
			// TODO Auto-generated method stub
			headerDao.updater(header);
		}



}
